package com.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schedule.common.R;
import com.schedule.dto.EventDto;
import com.schedule.entity.Event;

import java.time.LocalDate;
import java.util.List;

public interface EventService extends IService<Event> {

    boolean delByCondition(Event event);

    List<Event> listByCondition(EventDto eventDto);

    R<Event> saveEvent(Event event);

    //用户日历
    List<List<Event>> calendar(EventDto event);

}
